package org.jeecg.modules.wms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 创建入库明细VO
 */
@Data
@ApiModel(value = "InboundDetailCreateVO", description = "创建入库明细VO")
public class InboundDetailCreateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单明细ID", required = true)
    @NotBlank(message = "订单明细ID不能为空")
    private String orderDetailId;

    @ApiModelProperty(value = "门窗系列")
    private String windowSeries;

    @ApiModelProperty(value = "门窗窗号")
    private String windowNo;

    @ApiModelProperty(value = "门窗颜色")
    private String windowColor;

    @ApiModelProperty(value = "计划入库数量", required = true)
    @NotNull(message = "计划入库数量不能为空")
    private Integer plannedQuantity;

    @ApiModelProperty(value = "实际入库数量", required = true)
    @NotNull(message = "实际入库数量不能为空")
    private Integer actualQuantity;

    @ApiModelProperty(value = "仓库ID")
    private String warehouseId;

    @ApiModelProperty(value = "库位ID", required = true)
    @NotBlank(message = "库位ID不能为空")
    private String locationId;

    @ApiModelProperty(value = "生产批次号")
    private String productionBatchNo;

    @ApiModelProperty(value = "质检状态：0-待检，1-合格，2-不合格")
    private Integer qualityStatus;

    @ApiModelProperty(value = "质检员")
    private String qualityInspector;

    @ApiModelProperty(value = "备注")
    private String remark;
}
